package com.ruoyi.web.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import groovy.util.logging.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * TestJob
 *
 * @author Wayne Wei
 * @version 1.0
 * @date 2025/6/19
 * @description
 */
@Slf4j
@Component
public class TestJob {

    private Logger log = LoggerFactory.getLogger(TestJob.class);

    /**
     * 用户定时任务处理方法
     *
     * @param param
     * @return
     * @throws Exception
     */
    @XxlJob(value = "TestJob")
    public void userJobHandle(String param) throws Exception {
        log.info("执行test-job");
    }

}